package edu.zcmu.seckill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 唐诗
 * @since 2022-03-27
 */
@Getter
@Setter
@TableName("seckill_order_pay_log")
public class SeckillOrderPayLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 订单表id
     */
    @TableField("primary_id")
    private Integer primaryId;
    /**
     * 订单id
     */
    @TableField("order_id")
    private String orderId;

    /**
     * 支付完成时间
     */
    @TableField("pay_time")
    private Date payTime;

    /**
     * 支付金额
     */
    @TableField("toal_fee")
    private BigDecimal toalFee;

    /**
     * 支付类型
     */
    @TableField("pay_type")
    private Integer payType;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;



}
